package com.joysuch.wwyt.workflow.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 业务流程模板/表单对象
 */
@Data
public class WorkFlowMenuBean implements Serializable {

    @ApiModelProperty("ID")
    private Long id;

    @ApiModelProperty("业务流程ID")
    private Long workFlowId;

    @ApiModelProperty("显示顺序")
    private Integer showOrder;

    @ApiModelProperty("菜单名称")
    private String menuName;

    @ApiModelProperty("上级菜单")
    private String parentMenu;

    @ApiModelProperty("上级菜单Id")
    private Long parentMenuId;

    @ApiModelProperty("菜单URL")
    private String menuUrl;

    @ApiModelProperty("菜单图标")
    private String menuIcon;

    @ApiModelProperty("流程节点名称列表")
    private String taskNames;

    @ApiModelProperty("创建按钮")
    private String createButton;

    @ApiModelProperty("字段名称列表")
    private String fieldNames;

    @ApiModelProperty("默认字段")
    private String defaultFields;

    @ApiModelProperty("操作按钮列表")
    private String optButtons;

    @ApiModelProperty("查找筛选字段列表")
    private String searchFields;
    
    @ApiModelProperty("节点指定人员字段列表")
    private String assignFields;

    @ApiModelProperty("列表数据： 0 =当前用户 1=所有用户")
    private Integer isAssignUser;

    @ApiModelProperty("是否是app菜单名称: 是;否")
    private String appFlag;

    @ApiModelProperty("app菜单名称")
    private String appName;

    @ApiModelProperty("异常状态 T显示 F隐藏")
    private String exceptionStatus;

    @ApiModelProperty("是否导出：1导出")
    private Integer showExport;

}
